void activate(bsp_object *d,int flag=1)
Parameter | Type | Description |
---|---|---|
d | bsp_object * | stock object to activate |
flag | int | flag: 1-adds to bsp 0-not add to bsp |
None
This function activates an object from the stock. It clones the stock object and adds it to the list of active objects. If flag is TRUE, the object is also added to the bsp tree.